﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using wUniApp.MVC.App_Data;

namespace wUniApp.MVC.Controllers
{
  public class ProductsController : wBaseController<Product>
  {

    [HttpPost]
    [ValidateAntiForgeryToken]
    public override ActionResult Create([Bind(Include = "Id,Name,Description,MonthlyPrice")] Product product)
    {
      return base.Create(product);
    }

    [HttpPost]
    [ValidateAntiForgeryToken]
    public override ActionResult Edit([Bind(Include = "Id,Name,Description,MonthlyPrice")] Product product)
    {
      return base.Edit(product);
    }
  }
}
